class CreateBorrowings < ActiveRecord::Migration
  def change
    create_table :borrowings do |t|
      t.string :user_id
      t.string :document_id
      t.date :borrow_date
      t.integer :borrow_date_number
      t.integer :extension
      t.date :return_date

      t.timestamps
    end
  end
end
